<template>
  <div id="main" class="app-main">
    <router-view />
    <loading></loading>
    <!-- 消息 -->
    <!-- <platformNews
      v-if="newsShow"
      @newsEnd="newsEnd"
      :newsData="newsData"
      :newNews="this.newNews"
    >
    </platformNews> -->
  </div>
</template>

<script>
import loading from "@/views/loading";
// 新消息
// import { getNewMessageSend } from "@/api/home";
// import platformNews from "@/views/componentsonn_source_goods/platformNews";
export default {
  data() {
    return {
      // //新消息
      // newNews: false,
      // newsData: {},
      // newsShow: false,
    };
  },
  components: { loading },
  mounted() {
    // if (name == "ownspace_index") {
    //   location.reload();
    // }
  },
  beforeDestroy() {},
  methods: {},
};
</script>

<style lang="less">
html,
body {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
  /* overflow: hidden; */
}
td,
th {
  text-align: center !important;
}

.app-main {
  width: 100%;
  height: 100%;
}
.ivu-input[disabled] {
  color: #666666 !important;
}
.br button {
  margin-right: 8px;
}

.operation button {
  margin-right: 8px;
}

.operation .brr button {
  margin-right: 0px !important;
}

.ivu-btn-text:focus {
  box-shadow: none !important;
}

.ivu-tag {
  cursor: pointer;
}

.block-tool .ivu-tooltip,
.block-tool .ivu-tooltip-rel {
  display: block;
}

.block-pop .ivu-poptip,
.block-pop .ivu-poptip-rel {
  display: block;
}

.form-wangEditor,
.form-quill {
  .ivu-form-item-content {
    line-height: unset !important;
  }
}

.viewer-container {
  z-index: 9999 !important;
}
.more-css {
  .ivu-dropdown-item {
    text-align: left;
  }
}
</style>
